Augmented reality visualizer for swimming pools

ABSTRACT

An augmented reality visualizer for swimming pools is described herein. In one example, a system can receive images of a target area for a swimming pool from a camera. The system can generate an augmented reality environment by analyzing the images. The augmented reality environment can include a virtual swimming pool overlaying at least one image of the target area. The system can then output the augmented reality environment on a display for viewing by a user.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of priority under 35 U.S.C. § 119(e)to U.S. Provisional Patent Application No. 62/956,255, filed Jan. 1,2020, the entirety of which is hereby incorporated by reference herein.

TECHNICAL FIELD

The present disclosure relates generally to swimming pools. Morespecifically, but not by way of limitation, this disclosure relates tovisualizing a swimming pool on a property using augmented reality.

BACKGROUND

Customers generally take into account a variety of considerations whenchoosing a swimming pool (or “pool”) for their property. For example,customers often consider the pool's size, shape, material, lining, andspatial positioning on the property. Customers may also take intoaccount aesthetic considerations, such as the pool's color. Typically,pool manufacturers provide product catalogues that describe their poolproducts to aid the customer with these considerations. But visualizingwhat a pool will look like on the property of the customer, and how itwill function, still requires a great deal of imagination on the part ofthe customer.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1-2 are screenshots of a pool visualization application accordingto some aspects of the present disclosure.

FIG. 3 is a block diagram of an example of a computing device forproviding an augmented reality visualizer for swimming pools accordingto some aspects of the present disclosure.

FIG. 4 is a flow chart of an example of a process for providing anaugmented reality visualizer for swimming pools according to someaspects of the present disclosure.

DETAILED DESCRIPTION

Certain aspects and features of the present disclosure relate tovisualizing a swimming pool within a target area using augmentedreality. In one particular example, a user may wish to install aswimming pool (or “pool”) in a target area of a property, such as hisbackyard or inside his home. To help visualize what the pool would looklike in that space, the user can orient a camera of his mobile phonetoward the target area and execute a pool visualization application onthe mobile phone. The pool visualization application can obtain imagesof the target area using the camera, generate an augmented realityenvironment having a virtual swimming pool based on the images, andoutput the augmented reality environment on a display of the mobilephone. An augmented reality environment is a virtual environment inwhich images from a camera are supplemented (augmented) with virtualcontent. In this example, the virtual content is the virtual swimmingpool. The augmented reality environment depicts the virtual swimmingpool overlaying an image of the target area, to aid the user withvisualizing what the swimming pool would look like in that space. Thiscan enable the user to more easily select an appropriate pool.

In some examples, the pool visualization application can provide avariety of customization options through which the user can adjust thelook, position, orientation, and other characteristics of the virtualswimming pool. For example, the pool visualization application canenable the user to select a size, shape, material, color, pattern,and/or liner of the virtual swimming pool from among a group of options,to help the user visualize pools with different aesthetic and functionalqualities in the target area. The pool visualization application mayadditionally or alternatively enable the user to adjust a fill state ofthe virtual swimming pool. The fill state is whether the virtualswimming pool is rendered as an empty pool or filled with virtual water.This can enable the user to get a better sense of what the pool wouldlook like with and without water, which may be important for visualizinghow the pool would look in different circumstances.

The pool visualization application may additionally or alternativelyenable the user to select the look, position, orientation, and othercharacteristics of a virtual deck associated with the virtual swimmingpool. For example, the pool visualization application can enable theuser to select a size, shape, material, color, and texture of thevirtual deck from among a group of deck options, to help the uservisualize decks with different aesthetic and functional qualities in thetarget area. As one particular example, the pool visualizationapplication can enable the user to change the color and the texture of avirtual concrete deck (e.g., from a broom finish to a stamped stone)surrounding the virtual swimming pool, as well as expand or reduce thedeck area in predefined increments, such as 0.3 meter (m) increments.

In some examples, the pool visualization application can render thevirtual swimming pool (and the virtual deck) with one or more shadows toprovide a more realistic experience. The pool visualization applicationcan determine the characteristics of the shadows based on a physicallocation of the user in real space, so that the shadows are rendered torealistically reflect how the user would perceive a real swimming poolfrom his physical location. For example, the pool visualizationapplication can determine the physical location of the mobile phone inreal space using a global positioning system (GPS) unit, where thephysical location of the mobile phone can serve as a proxy for thephysical location of the user. The pool visualization application canthen determine a relative position of the sun in the sky to the physicallocation of the mobile phone, determine characteristics for one or moreshadows based on that relative position, and render the one or moreshadows with those characteristics in the augmented reality environment.

These illustrative examples are given to introduce the reader to thegeneral subject matter discussed here and are not intended to limit thescope of the disclosed concepts. The following sections describe variousadditional features and examples with reference to the drawings in whichlike numerals indicate like elements but, like the illustrativeexamples, should not be used to limit the present disclosure.

FIG. 1 is a screenshot of a pool visualization application executing ona handheld device 100 according to some aspects of the presentdisclosure. In this example, the handheld device 100 is a mobile phone,but in other examples the handheld device 100 may be a tablet, a laptopcomputer, or an e-reader. The handheld device 100 includes a camera (notshown) positioned on its back surface for capturing images of a targetarea, from which an augmented reality environment 102 can be generatedby the pool visualization application.

As shown in FIG. 1, the pool visualization application has receivedimages 106 from the camera of a target area including a relatively emptyfield with trees and a fence in the background. From these images, thepool visualization application has generated an augmented realityenvironment 102, in which a virtual swimming pool 104 has been overlaidonto one or more of the images 106. The augmented reality environment102 also includes a virtual deck 116 surrounding the virtual swimmingpool 104. In this example, the virtual deck 116 is depicted as being aconcrete material, but in other examples the virtual deck 116 may bedepicted as another type of material. The pool visualization applicationcan render the virtual swimming pool 104 and the virtual deck 116 usinga rendering engine, such as Unity 3D.

The pool visualization application can determine characteristics (e.g.,a scale, location, and orientation) for the virtual swimming pool 104and the virtual deck 116 by analyzing the images 106, based on userinput, or a combination thereof. For example, the pool visualizationapplication can determine a horizontal plane and a vertical plane in theimages 106 by analyzing the images using one or more image-processingalgorithms. In one such example, the image-processing algorithms can besupplied by an image-processing library, such as ARKit by Apple®. Afterdetermining the horizontal plane, the pool visualization application canset the horizontal plane as ground level. And after determining thevertical plane, the pool visualization application may perform furtheranalysis of the image features in the vertical plane to aid withgenerating the virtual swimming pool 104 and the virtual deck 116, asdetailed below.

As mentioned above, the pool visualization application can perform oneor more image-analysis techniques on the image features in the verticalplane. In some examples, the image-analysis techniques can include edgedetection. The edge detection algorithm may be supplied by animage-processing library, such as OpenCV®. The pool visualizationapplication can perform the image-analysis techniques to, for example,identify one or more vertical objects (e.g., trees, rocks, fence posts,etc.) extending vertically upward from the ground level. If a verticalobject is located in the target area for the swimming pool, the verticalobject can be identified as an obstruction that would prevent pooland/or deck placement. Based on identifying such an obstruction, thepool visualization application may output an alert associated with theobstruction and provide an alternative positioning suggestion as to howto reposition or reorient the virtual swimming pool 104 to avoid theobstruction. If a vertical object is located outside the target area forthe swimming pool, the pool visualization application may use thevertical object as a visual anchor for calculating the appropriate scalefor the virtual swimming pool 104. For example, the pool visualizationapplication can estimate one or more distances from the handheld device100 to one or more of the visual anchors by analyzing the images 106.The pool visualization application can then use one or more of theestimated distances to determine the appropriate scale for the virtualswimming pool 104 and the virtual deck 116. The pool visualizationapplication can then render the virtual swimming pool 104 and thevirtual deck 116 at the determined scale in the augmented realityenvironment 102.

In some examples, the pool visualization application can render thevirtual swimming pool 104 and the virtual deck 116 with one or moreshadows to provide a more realistic experience. The pool visualizationapplication can determine the characteristics (e.g., size, shape, angle,and orientation) of the shadows based on a physical location of thehandheld device 100 in real space. The physical location can bedetermined by the handheld device 100 using one or more sensors.Examples of the sensors can include a global positioning system (GPS)unit, gyroscope, accelerometer, or any combination of these. Thephysical location may include a spatial location of the handheld device100, an orientation of the handheld device 100, or both of these. Afterdetermining the physical location of the handheld device 100, the poolvisualization application can determine a relative position of the sunin the sky to the physical location of the handheld device 100. Based onthe relative position, the pool visualization application can determinethe characteristics for the shadows and render the shadows in theaugmented reality environment 102. The pool visualization applicationcan render the shadows by supplying the characteristics to a renderingengine, such as Unity 3D.

The pool visualization application can also provide a graphical userinterface (GUI) associated with the augmented reality environment 102.The GUI can enable the user to input a variety of customizations toadjust the aesthetic, functional, and other characteristics of thevirtual swimming pool 104 and the virtual deck 116. In the example shownin FIG. 1, the GUI includes a group of liner options 110 a-d for thevirtual swimming pool 104. A user can select a liner option from amongthe group of liner options 110 a-d and the pool visualizationapplication can responsively update (e.g., modify) the rendering of thevirtual swimming pool 104 with the selected liner option. This canenable the user to visualize what a swimming pool would look like in thetarget area with the selected liner option. The GUI may also include agroup of deck options (not shown) for the virtual deck 116. Examples ofthe deck options can include different sizes, shapes, materials, colors,and textures for the virtual deck 116. A user can select one or moredeck options from among the group of deck options, and the poolvisualization application can responsively update the rendering of thevirtual deck 116 based on the selected deck options. This can enable theuser to visualize what a deck with the selected deck options would looklike in the target area.

In some examples, the GUI can also include a fill option 118 foradjusting a fill state of the virtual swimming pool 104. In the exampleshown in FIG. 1, the virtual swimming pool 104 is rendered as an emptypool (without water). If the user wishes to view what the virtualswimming pool 104 would look like filled with water, the user can selectthe fill option 118 and the pool visualization application will updatethe rendering of the virtual swimming pool 104 to include virtual water.FIG. 2 depicts one example of a virtual swimming pool 204 as renderedwith virtual water 206. While FIGS. 1-2 depict options for certaincustomizations, these are exemplary and additional or alternativecustomizations are also possible.

Continuing with FIG. 1, the GUI can also include other user interfaceobjects, such as menu button 114, screenshot button 108, and dealerbutton 112. The menu button 114 can provide access to other settings andoptions of the pool visualization application. The screenshot button 108can enable a user to save an image of the augmented reality environment102 with the virtual swimming pool 104 and the virtual deck 116. Forexample, the pool visualization application can detect a userinteraction with the screenshot button 108 and responsively capture andstore a screenshot image of the augmented reality environment 102 on thehandheld device 100. This may enable the user to more easily share thedesign concept with others (such as a pool dealer or spouse). In someexamples, the dealer button 112 can enable the user to find a supplierof swimming pools having the characteristics of the virtual swimmingpool 104. For example, the pool visualization application can detect auser interaction with the dealer button 112 and responsively filterthrough a list of swimming pool suppliers to identify a group ofsuppliers that sell pool products with the selected characteristics ofthe virtual swimming pool 104. The pool visualization application canthen filter through the group of suppliers based on their proximity tothe user (e.g., based on an address or zip code input by the user, orbased on a GPS location of the handheld device 100) to identify to asubset of suppliers within a predefined distance of the user. Of course,in other examples this filtering process can be performed in theopposite order—e.g., by first filtering by proximity and then filteringby product selection. Either way, the pool visualization application canidentify appropriate suppliers and output the identified suppliers tothe user.

As mentioned above, some examples may intentionally prevent the userfrom placing a virtual swimming pool 104 in target areas that do nothave sufficient space, may alert the user of potential obstructions,and/or may take scaling factors into consideration when presenting thevirtual swimming pool 104 and the virtual deck 116 to make the augmentedreality environment 102 more realistic. But other examples mayintentionally allow for one or more of such rules to be broken. Forinstance, the pool visualization application may allow a user maydisable some of the above restrictions, so that the user can view avirtual swimming pool in smaller spaces where a full-sized version ofthe swimming pool may not fit. For example, the user can disable some ofthe above restrictions and then point the camera of the handheld device100 at a furniture surface, such as the top of a desk or table. Inresponse, the pool visualization application can generate an augmentedreality environment having the virtual swimming pool (e.g., at smallerscale) positioned on the furniture surface. This may allow the user tomore easily share a pool design concept with a friend or colleague atwork, for example. This may also allow users to play with the poolvisualization application in a game-like manner, for example, bypointing the camera on their handheld device 100 at a wall or ceiling ofa building to project a virtual swimming pool thereon.

While FIG. 1 depicts the pool visualization application executing on ahandheld device 100, other examples may involve other types of computingdevices. And although the examples above are described with reference toa camera located on the back of the handheld device 100, in otherexamples the camera may be located elsewhere on the handheld device 100,such as on the front of the handheld device 100.

One example of a computing device 300 for providing an augmented-realityvisualizer for swimming pools is depicted in FIG. 3. The computingdevice 300 can be a handheld device, such as the handheld device 100 ofFIG. 1; a wearable device, such as a head-mounted display (HMD) or awatch; or another type of computing device.

The computing device 300 includes a processor 302 communicativelycoupled to a memory 304 by a bus 306. The processor 302 can include oneprocessor or multiple processors. Non-limiting examples of the processor302 include a Field-Programmable Gate Array (FPGA), anapplication-specific integrated circuit (ASIC), a microprocessor, etc.The processor 302 can execute instructions 308 stored in the memory 304to perform operations. In some examples, the instructions 308 caninclude processor-specific instructions generated by a compiler or aninterpreter from code written in any suitable computer-programminglanguage, such as C, C++, C#, etc.

The memory 304 can include one memory device or multiple memory devices.The memory 304 can be non-volatile and may include any type of memorydevice that retains stored information when powered off. Non-limitingexamples of the memory 304 include electrically erasable andprogrammable read-only memory (EEPROM), flash memory, or any other typeof non-volatile memory. At least some of the memory device includes anon-transitory computer-readable medium from which the processor 302 canread instructions 308. A non-transitory computer-readable medium caninclude electronic, optical, magnetic, or other storage devices capableof providing the processor 302 with the instructions 308 or otherprogram code. Non-limiting examples of a non-transitorycomputer-readable medium include magnetic disk(s), memory chip(s), ROM,random-access memory (RAM), an ASIC, a configured processor, opticalstorage, or any other medium from which a computer processor can readthe instructions 308.

The instructions 308 can include a pool visualization application 318.The pool visualization application 318 may be executable by theprocessor 302 for causing the processor 302 to perform any amount andcombination of the functionality described herein. The poolvisualization application 318 may also be executable by the processor302 to perform more functionality, less functionality, or differentfunctionality than is described herein.

The computing device 300 also includes input components. One example ofan input component is the user input device 310, which may include oneuser input device or multiple user input devices. Examples of such userinput devices can include a mouse, a keyboard, a touchpad, and atouch-screen display. Another example of an input component is thesensor 312, which may include one sensor or multiple sensors. Examplesof such sensors can include a global positioning system (GPS) unit, agyroscope, an accelerometer, and an inclinometer. Yet another example ofan input component is a camera 316, which may include one camera ormultiple cameras.

The computing device 300 further includes output components. One exampleof an output component is the display 314, which may include one displayor multiple displays. Examples of such displays can include a liquidcrystal display (LCD) or a light-emitting diode (LED) display. Thecomputing device 300 may also include an audio output component, like aspeaker; a haptic output component, like a haptic actuator; and/oranother type of output component. But for simplicity, these other outputcomponents are not shown in FIG. 3.

While FIG. 3 depicts the components (e.g., processor 302, display 314,camera 316, etc.) as being internal to a single housing, in otherexamples the components may be distributed and in wired or wirelesscommunication with one another. For example, the display 314 may be ahead-mounted display configured to be positioned on a user's head. Insuch an example, the head-mounted display may be separate from and incommunication with the computing device 300 that performs the mainprocessing. Additionally, although FIG. 3 depicts a certain number andarrangement of components, this is for illustrative purposes and notintended to be limiting. Other examples can include more components,fewer components, different components, or a different arrangement ofthe components shown in FIG. 3.

FIG. 4 is a flow chart of another example of a process for providing anaugmented reality visualizer for swimming pools according to someaspects of the present disclosure. While FIG. 4 depicts a certainsequence of steps for illustrative purposes, other examples can involvemore steps, fewer steps, different steps, or a different order of thesteps depicted in FIG. 4. The steps of FIG. 4 are described below withreference to components of FIG. 3 described above.

In block 402, the processor 302 receives a plurality of images of atarget area for a swimming pool from a camera 316, where the pluralityof images depict the target area. The target area can be internal orexternal to a building, such as a home or commercial space. For example,the target area can be the backyard or lawn of a residential property.Alternatively, the target area can be the interior of a home (e.g., ifthe swimming pool is going to be an indoor pool).

In block 404, the processor 302 generates an augmented realityenvironment by analyzing the plurality of images. For example, theprocessor 302 can determine a horizontal plane and a vertical plane inthe plurality of images by analyzing the plurality of images using animage-processing algorithm. The processor 302 can then identify avertical object existing in the vertical plane and extending verticallyupward from the horizontal plane, for example, by performing edgedetection on image features in the vertical plane. After identifying thevertical object, the processor 302 can determine a size for the virtualswimming pool in the augmented reality environment by using the verticalobject as an indicator of scale. The processor 302 can then generate anaugmented reality environment that includes a virtual swimming pool ofthe determined size, where augmented reality environment depicts thevirtual swimming pool overlaying at least one (background) image of thetarget area. The at least one image can be selected from the pluralityof images received from the camera 316. Alternatively, the at least oneimage can be obtained before or after receiving the plurality of imagesfrom the camera 316. In some examples, the processor 302 may alsoinclude a virtual deck in the augmented reality environment, e.g.,depending on a deck option selected by the user.

In block 406, the processor 302 outputs the augmented realityenvironment on a display 314. For example, the processor 302 cantransmit one or more display signals to the display 314 for causing thedisplay 314 to output the augmented reality environment thereon.

The foregoing description of certain examples, including illustratedexamples, has been presented only for the purpose of illustration anddescription and is not intended to be exhaustive or to limit thedisclosure to the precise forms disclosed. Numerous modifications,adaptations, and uses thereof will be apparent to those skilled in theart without departing from the scope of the disclosure. For instance,examples described herein can be combined together to yield stillfurther examples.

The invention claimed is:
 1. A method comprising: receiving, by aprocessor, a plurality of images of a target area for a swimming poolfrom a camera; generating, by the processor, an augmented realityenvironment by analyzing the plurality of images, the augmented realityenvironment including a virtual swimming pool overlaying at least oneimage of the target area, wherein generating the augmented realityenvironment by analyzing the plurality of images involves: determining ahorizontal plane and a vertical plane in the plurality of images byanalyzing the plurality of images using an image-processing algorithm;performing edge detection on image features in the vertical plane toidentify a vertical object extending vertically upward from thehorizontal plane; determining a size for the virtual swimming pool inthe augmented reality environment by using the vertical object as anindicator of scale; and depicting the virtual swimming pool in theaugmented reality environment as having the size; and outputting, by theprocessor, the augmented reality environment on a display.
 2. The methodof claim 1, further comprising: identifying, by the processor, anobstruction in the plurality of images that would prevent placement ofthe swimming pool in the target area; and in response to identifying theobstruction, outputting, by the processor, an alert associated with theobstruction.
 3. The method of claim 1, further comprising: receiving, bythe processor, a user input for modifying a visual characteristic of thevirtual swimming pool in the augmented reality environment; and inresponse to receiving the user input, modifying, by the processor, thevisual characteristic of the virtual swimming pool in the augmentedreality environment.
 4. The method of claim 3, wherein the visualcharacteristic includes a size, shape, orientation, material, color,pattern, or liner of the virtual swimming pool.
 5. The method of claim3, wherein the visual characteristic is a fill state, the fill statebeing whether the virtual swimming pool is depicted as filled withvirtual water or empty.
 6. The method of claim 1, wherein the processorand the camera are included in a handheld device.
 7. The method of claim6, further comprising: determining, by the processor, a physicallocation of the handheld device in real space using one or more sensors;determining, by the processor, a relative position of the sun to thephysical location of the handheld device; and rendering, by theprocessor, a shadow associated with the virtual swimming pool in theaugmented reality environment based on the relative position of the sunto the physical location of the handheld device.
 8. The method of claim7, wherein the physical location is a geographical location and the oneor more sensors include a global positioning system (GPS) unit.
 9. Themethod of claim 1, further comprising: receiving, by the processor, auser input for identifying a supplier of pool products having one ormore visual characteristics of the virtual swimming pool; and inresponse to receiving the user input: filtering, by the processor,through a list of suppliers of pool products to identify one or moresuppliers that sell pool products having the one or more visualcharacteristics of the virtual swimming pool; and outputting the one ormore identified suppliers on the display.
 10. The method of claim 1,wherein the augmented reality environment includes a virtual deckassociated with the virtual swimming pool, and further comprising:receiving, by the processor, a user input for modifying a visualcharacteristic of the virtual deck in the augmented reality environment;and in response to receiving the user input, modifying, by theprocessor, the visual characteristic of the virtual deck in theaugmented reality environment.
 11. The method of claim 10, wherein thevisual characteristic includes a size, shape, orientation, material,color, or texture of the virtual deck.
 12. A system comprising: acamera; a display; a processor communicatively coupled to the camera andthe display; and a memory including instructions executable by theprocessor for causing the processor to: receive a plurality of images ofa target area for a swimming pool from the camera; generate an augmentedreality environment by analyzing the plurality of images, the augmentedreality environment including a virtual swimming pool overlaying atleast one image of the target area, wherein generating the augmentedreality environment by analyzing the plurality of images involves:determining a horizontal plane and a vertical plane in the plurality ofimages by analyzing the plurality of images using an image-processingalgorithm; performing edge detection on image features in the verticalplane to identify a vertical object extending vertically upward from thehorizontal plane; determining a size for the virtual swimming pool inthe augmented reality environment by using the vertical object as anindicator of scale; and depicting the virtual swimming pool in theaugmented reality environment as having the size; and output theaugmented reality environment on the display.
 13. The system of claim12, wherein the memory further includes instructions that are executableby the processor for causing the processor to: identify an obstructionin the plurality of images that would prevent placement of the swimmingpool in the target area; and in response to identifying the obstruction,output an alert associated with the obstruction.
 14. The system of claim12, wherein the memory further includes instructions that are executableby the processor for causing the processor to: receive a user input formodifying a visual characteristic of the virtual swimming pool in theaugmented reality environment; and in response to receiving the userinput, modify the visual characteristic of the virtual swimming pool inthe augmented reality environment.
 15. The system of claim 12, furthercomprising one or more sensors, wherein the memory further includesinstructions that are executable by the processor for causing theprocessor to: determine a physical location in real space using the oneor more sensors; determine a relative position of the sun to thephysical location; and render a shadow associated with the virtualswimming pool in the augmented reality environment based on the relativeposition of the sun to the physical location.
 16. The system of claim12, wherein the augmented reality environment includes a virtual deckassociated with the virtual swimming pool, and wherein the memoryfurther includes instructions that are executable by the processor forcausing the processor to: receive a user input for modifying a visualcharacteristic of the virtual deck in the augmented reality environment;and in response to receiving the user input, modify the visualcharacteristic of the virtual deck in the augmented reality environment.17. A non-transitory computer-readable medium comprising program codethat is executable by a processor for causing the processor to: receivea plurality of images of a target area for a swimming pool from acamera; generate an augmented reality environment by analyzing theplurality of images, the augmented reality environment including avirtual swimming pool overlaying at least one image of the target area,wherein generating the augmented reality environment by analyzing theplurality of images involves: determining a horizontal plane and avertical plane in the plurality of images by analyzing the plurality ofimages using an image-processing algorithm; performing edge detection onimage features in the vertical plane to identify a vertical objectextending vertically upward from the horizontal plane; determining asize for the virtual swimming pool in the augmented reality environmentby using the vertical object as an indicator of scale; and depicting thevirtual swimming pool in the augmented reality environment as having thesize; and output the augmented reality environment on a display.
 18. Thenon-transitory computer-readable medium of claim 17, further comprisingprogram code that is executable by the processor for causing theprocessor to: identify an obstruction in the plurality of images thatwould prevent placement of the swimming pool in the target area; and inresponse to identifying the obstruction, output an alert associated withthe obstruction.
 19. The non-transitory computer-readable medium ofclaim 17, further comprising program code that is executable by theprocessor for causing the processor to: determine a physical location inreal space associated with the processor using one or more sensors;determine a relative position of the sun to the physical location; andrender a shadow associated with the virtual swimming pool in theaugmented reality environment based on the relative position of the sunto the physical location.
 20. The non-transitory computer-readablemedium of claim 17, further comprising program code that is executableby the processor for causing the processor to: generate the augmentedreality environment to include a visual option that is selectable totoggle the virtual swimming pool between an empty state and a filledstate, the empty state depicting the virtual swimming pool withoutvirtual water and the filled state depicting the virtual swimming poolwith virtual water.